package com.pxst.fi.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author rj
 * @create 2023-09-19-15:43
 */
@Data
public class MerchantStatementResp {
    @ApiModelProperty(value = "商户code")
    private String merchantCode;

    @ApiModelProperty(value = "商户名")
    private String merchantName;

    @ApiModelProperty(value = "订单号")
    private String altId;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "银行手续费")
    private BigDecimal bankFee;

    @ApiModelProperty(value = "转入")
    private BigDecimal credit;

    @ApiModelProperty(value = "转出")
    private BigDecimal debit;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "是否是历史")
    private Integer history;

    @ApiModelProperty(value = "由商户支付银行的费用")
    private Integer payBankFee;

    @ApiModelProperty(value = "系统手续费")
    private BigDecimal rate;

    @ApiModelProperty(value = "原因")
    private Integer reason;

    @ApiModelProperty(value = "请求金额")
    private BigDecimal requestAmount;

    @ApiModelProperty(value = "交易时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date transactionDate;

    @ApiModelProperty(value = "交易id")
    private Long transactionId;

    @ApiModelProperty(value = "交易类型")
    private Integer txnMode;

    @ApiModelProperty(value = "类型")
    private Integer type;


}
